package cn.iot.sys.dao;

import cn.iot.sys.entity.SysClass;
import cn.iot.sys.entity.SysStudent;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

public interface SysStudentDao extends BaseMapper<SysStudent> {
    public List<SysStudent> getSysStudentList(Map<String,Object> map);
    public int getSysStudentListCount(Map<String,Object> map);
    public int addStudent(Map<String,Object> map);
    public SysStudent getSysStudentById(int id);
    public SysStudent getSysStudentByStuName(String studentName);
    public int updSysStudentById(Map<String,Object> map);
    public int updHostelIdByStuId(Map<String,Object> map);
    public int updHostelIdByStudentId(Map<String,Object> map);
    public int delById(int id);
    public int addStu(SysStudent sysStudent);
    public List<SysStudent> getStudentAll();
    public String getStudentId(String studentId);
    public int uploadPhoto(Map<String,Object> map);

}
